package com.gaga.console.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gaga.console.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户信息表
 * </p>
 *
 * @author liujia
 * @since 2023-12-12
 */
@Data
@Accessors(chain = true)
@TableName("app_version")
@ApiModel(value = "AppVersion对象", description = "app版本管理表")
public class AppVersion extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("Id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("版本名称")
    private String versionName;

    @ApiModelProperty("版本号")
    private Integer versionCode;

    @ApiModelProperty("是否最新版本")
    private Integer isNew;

    @ApiModelProperty("版本详细说明")
    private String versionDesc;

    @ApiModelProperty("更新类型 forcibly：强制更新 solicit：弹窗确认更新  silent：静默更新")
    private String updateType;

    @ApiModelProperty("Android下载地址")
    private String androidDownloadUrl;

    @ApiModelProperty("ios下载地址")
    private String iosDownloadUrl;


}
